/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.asset.model.resp;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import top.continew.admin.common.model.resp.BaseResp;
import java.io.Serial;
import java.time.*;

/**
 * 盘点资产名单信息
 *
 * @author CharlieYan
 * @since 2025/07/11 16:31
 */
@Data
@Schema(description = "盘点资产名单信息")
public class CheckItemResp extends BaseResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 任务ID
     */
    @Schema(description = "任务ID")
    private Long taskId;

    /**
     * 资产ID
     */
    @Schema(description = "资产ID")
    private Long itemId;

    /**
     * 资产编号
     */
    @Schema(description = "资产编号")
    private String code;

    /**
     * 资产名称
     */
    @Schema(description = "资产名称")
    private String name;

    /**
     * 序列号
     */
    @Schema(description = "序列号")
    private String sn;

    /**
     * 状态(0待盘，1未盘到，2已盘到)
     */
    @Schema(description = "状态(0待盘，1未盘到，2已盘到)")
    private Integer status;

    /**
     * 盘点人ID
     */
    @Schema(description = "盘点人ID")
    private Long checkerId;

    /**
     * 盘点人名称
     */
    @Schema(description = "盘点人名称")
    private String checkerName;

    /**
     * 描述
     */
    @Schema(description = "描述")
    private String description;

}